# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class AddLinkMicUnicastListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addLinkMicUnicastListener"

	@parameter(1,"tv.athena.live.api.link_mic.LinkMicUnicastListener")
	def listener(self, listener):
		return self

class RemoveLinkMicUnicastListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeLinkMicUnicastListener"

	@parameter(1,"tv.athena.live.api.link_mic.LinkMicUnicastListener")
	def listener(self, listener):
		return self

class RefuseInviteLiveInterconnectReqApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.refuseInviteLiveInterconnectReq"

	@parameter(1,"long")
	def sid(self, sid):
		return self

	@parameter(2,"com.yy.liveplatform.proto.nano.LpfLiveinterconnect")
	def replyInviteUserInfo(self, replyInviteUserInfo):
		return self

	@parameter(3,"int")
	def businessType(self, businessType):
		return self

	@parameter(4,"int[]")
	def position(self, position):
		return self

	@parameter(5,"boolean")
	def isAutoReject(self, isAutoReject):
		return self

	@parameter(6,"tv.athena.live.api.IDataCallback")
	def callBack(self, callBack):
		return self

